/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cassys.ejb.sessionbean;

import cassys.dataaccess.DAOException;
import cassys.datatransferobjects.ModuleDTO;
import cassys.datatransferobjects.StudentModuleTeamDTO;
import java.util.ArrayList;
import javax.ejb.LocalBean;
import javax.ejb.Remote;

/**
 *
 * @author User
 */
@Remote
@LocalBean
public interface StudentModuleTeamBeanRemote {
    
     ArrayList<StudentModuleTeamDTO> findAllStudnetModulTeams() throws DAOException;
     ArrayList<StudentModuleTeamDTO> findAllStudnetByModule(String moduleCode) throws DAOException;
     ArrayList<StudentModuleTeamDTO> findAllStudnetByTeam(String teamId) throws DAOException;
     StudentModuleTeamDTO findModule(String moduleCode) throws DAOException;
     StudentModuleTeamDTO findStudnet(String studentId) throws DAOException;
     StudentModuleTeamDTO findTeam(String teamId) throws DAOException;
     void insertStudentModuleTeam(StudentModuleTeamDTO dto) throws DAOException;
     void updateStudentModuleTeam(StudentModuleTeamDTO dto) throws DAOException;
     void deleteStudentModuleTeam(StudentModuleTeamDTO dto) throws DAOException;
     
     public ArrayList<StudentModuleTeamDTO> findAllModuleForStudent(String studentid) throws DAOException;
     public ArrayList<StudentModuleTeamDTO> findAllModuleForTeam(String teamid) throws DAOException; 
}
